package org.jeecg.modules.consumptionElectricity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.consumptionElectricity.entity.ConsumptionElectricity;
import org.jeecg.modules.consumptionElectricity.entity.ElectricitySelectDTO;
import org.jeecg.modules.consumptionElectricity.entity.TrackingDTO;

import java.util.List;
import java.util.Map;

/**
 * @Description: 电能能耗
 * @Author: jeecg-boot
 * @Date:   2023-06-20
 * @Version: V1.0
 */
public interface IConsumptionElectricityService extends IService<ConsumptionElectricity> {
    List<ConsumptionElectricity> selectByTime(ElectricitySelectDTO selectDTO);

    List<ConsumptionElectricity> selectCarbonEmission(ElectricitySelectDTO selectDTO);

    List<ConsumptionElectricity> selectProductConsumption(ElectricitySelectDTO selectDTO);

    List<Map<String,Object>> getAllGroupByDept();

    Map<String, Object> getIndex();

    List<Map<String, Object>> getDayConsumption(int year, int month, int day, int hour);

    List<List<ConsumptionElectricity>> getTracking(TrackingDTO trackingDTO);

}
